<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body onload="load()">
    <p th:text="${hotlename}" id="hotlename"></p>
<script>
    window.onload=function () {
        // alert("评论成功");
        window.location.href="singleDeal?hotlename="+document.getElementById("hotlename").innerHTML;
    }
</script>
</body>
</html>